package com.ldp.designpatterns.study.bridge.demo2;

import com.ldp.designpatterns.study.bridge.demo2.iabstractClass.BigPhone;
import com.ldp.designpatterns.study.bridge.demo2.impl.Brand;
import com.ldp.designpatterns.study.bridge.demo2.impl.Huawei;
import com.ldp.designpatterns.study.bridge.demo2.impl.Xiaomi;

/**
 * @ClassName BridgeTest
 * @Description TODO
 * @Author lindipei
 * @Date 2023/10/17 11:46
 */
public class BridgeTest {
    public static void main(String[] args) {

        Brand huaweiBrand = new Huawei();
        Brand xiaoMi = new Xiaomi();

        BigPhone huaweiBig = new BigPhone(huaweiBrand);
        BigPhone xiaomiBig = new BigPhone(xiaoMi);

    }
}

